﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  <class name="Forecast.Domain.Implementation.Prediction, Forecast.Domain.Implementation"
         table="Prediction">

    <id name="Id" column="ID" type="integer">
      <generator class="increment"></generator>
    </id>

    <property name="EndDate" column="End_date" type="DateTime" />
    <property name="HasSucceeded" column="Has_succeeded" type="Boolean" />
    <property name="IsActive" column="Is_active" type="Boolean" />
    <property name="LongDescription" column="Long_description" type="String" />
    <property name="ShortDescription" column="Short_description" type="String" />
    <property name="Ticker" column="Ticker" type="String" />
    <property name="IsClosed" column="Is_closed" type="Boolean" />
    <!--<property name="LastChange" column="_lastChange" type="Decimal" />-->
    <property name="LastValue" column="Last_value" type="int" />
  </class>

</hibernate-mapping>